[INFO] fetching crate actix-web-codegen 0.5.0-beta.2...
[INFO] building actix-web-codegen-0.5.0-beta.2 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate actix-web-codegen 0.5.0-beta.2 into /workspace/builds/worker-11/source
[INFO] validating manifest of crates.io crate actix-web-codegen 0.5.0-beta.2 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate actix-web-codegen 0.5.0-beta.2
[INFO] finished tweaking crates.io crate actix-web-codegen 0.5.0-beta.2
[INFO] tweaked toml for crates.io crate actix-web-codegen 0.5.0-beta.2 written to /workspace/builds/worker-11/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 09aa1492ed7f34defc059f418f5d8a951578e691178b8958f25458823208a94d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "09aa1492ed7f34defc059f418f5d8a951578e691178b8958f25458823208a94d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "09aa1492ed7f34defc059f418f5d8a951578e691178b8958f25458823208a94d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "09aa1492ed7f34defc059f418f5d8a951578e691178b8958f25458823208a94d", kill_on_drop: false }`
[INFO] [stdout] 09aa1492ed7f34defc059f418f5d8a951578e691178b8958f25458823208a94d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4c0b0bf46334b8f60f8b5439559828d10735ea57ff977952df99ed46d7e12eb5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4c0b0bf46334b8f60f8b5439559828d10735ea57ff977952df99ed46d7e12eb5", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling actix-web-codegen v0.5.0-beta.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 17.94s
[INFO] running `Command { std: "docker" "inspect" "4c0b0bf46334b8f60f8b5439559828d10735ea57ff977952df99ed46d7e12eb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c0b0bf46334b8f60f8b5439559828d10735ea57ff977952df99ed46d7e12eb5", kill_on_drop: false }`
[INFO] [stdout] 4c0b0bf46334b8f60f8b5439559828d10735ea57ff977952df99ed46d7e12eb5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 5b8827980b49f709abfb9c34a3301466b51b29f02213847ab3a1c37cbb6dd3e1
[INFO] running `Command { std: "docker" "start" "-a" "5b8827980b49f709abfb9c34a3301466b51b29f02213847ab3a1c37cbb6dd3e1", kill_on_drop: false }`
[INFO] [stderr]    Compiling actix-web-codegen v0.5.0-beta.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `trybuild`
[INFO] [stdout]  --> tests/trybuild.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let t = trybuild::TestCases::new();
[INFO] [stdout]   |             ^^^^^^^^ use of undeclared crate or module `trybuild`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `actix-web-codegen`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]  --> tests/test_macro.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use actix_web::dev::{Service, ServiceRequest, ServiceResponse, Transform};
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]  --> tests/test_macro.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use actix_web::http::header::{HeaderName, HeaderValue};
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]  --> tests/test_macro.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use actix_web::{http, test, web::Path, App, Error, HttpResponse, Responder};
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `actix_web`
[INFO] [stdout]  --> tests/test_macro.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use actix_web::{http, test, web::Path, App, Error, HttpResponse, Responder};
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_util`
[INFO] [stdout]  --> tests/test_macro.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use futures_util::future::{self, LocalBoxFuture};
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `futures_util`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures_util`
[INFO] [stdout]  --> tests/test_macro.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use futures_util::future::{self, LocalBoxFuture};
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `futures_util`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt`
[INFO] [stdout]    --> tests/test_macro.rs:149:3
[INFO] [stdout]     |
[INFO] [stdout] 149 | #[actix_rt::test]
[INFO] [stdout]     |   ^^^^^^^^ use of undeclared crate or module `actix_rt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt`
[INFO] [stdout]    --> tests/test_macro.rs:171:3
[INFO] [stdout]     |
[INFO] [stdout] 171 | #[actix_rt::test]
[INFO] [stdout]     |   ^^^^^^^^ use of undeclared crate or module `actix_rt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt`
[INFO] [stdout]    --> tests/test_macro.rs:245:3
[INFO] [stdout]     |
[INFO] [stdout] 245 | #[actix_rt::test]
[INFO] [stdout]     |   ^^^^^^^^ use of undeclared crate or module `actix_rt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt`
[INFO] [stdout]    --> tests/test_macro.rs:254:3
[INFO] [stdout]     |
[INFO] [stdout] 254 | #[actix_rt::test]
[INFO] [stdout]     |   ^^^^^^^^ use of undeclared crate or module `actix_rt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[get("/config")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[get("/test")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[put("/test")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[patch("/test")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[post("/test")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[head("/test")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[connect("/test")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[options("/test")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[trace("/test")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | #[get("/test")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:57:62
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn auto_async() -> impl Future<Output = Result<HttpResponse, actix_web::Error>> {
[INFO] [stdout]    |                                                              ^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:61:1
[INFO] [stdout]    |
[INFO] [stdout] 61 | #[get("/test")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:62:61
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn auto_sync() -> impl Future<Output = Result<HttpResponse, actix_web::Error>> {
[INFO] [stdout]    |                                                             ^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[put("/test/{param}")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:71:1
[INFO] [stdout]    |
[INFO] [stdout] 71 | #[delete("/test/{param}")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:76:1
[INFO] [stdout]    |
[INFO] [stdout] 76 | #[get("/test/{param}")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:81:1
[INFO] [stdout]    |
[INFO] [stdout] 81 | #[route("/multi", method = "GET", method = "POST", method = "HEAD")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:86:1
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[get("/custom_resource_name", name = "custom")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]   --> tests/test_macro.rs:87:45
[INFO] [stdout]    |
[INFO] [stdout] 87 | async fn custom_resource_name_test<'a>(req: actix_web::HttpRequest) -> impl Responder {
[INFO] [stdout]    |                                             ^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderName`
[INFO] [stdout]    --> tests/test_macro.rs:136:31
[INFO] [stdout]     |
[INFO] [stdout] 136 |             let header_name = HeaderName::from_lowercase(b"custom-header").unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared type `HeaderName`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderValue`
[INFO] [stdout]    --> tests/test_macro.rs:137:32
[INFO] [stdout]     |
[INFO] [stdout] 137 |             let header_value = HeaderValue::from_str("hello").unwrap();
[INFO] [stdout]     |                                ^^^^^^^^^^^ use of undeclared type `HeaderValue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]    --> tests/test_macro.rs:144:1
[INFO] [stdout]     |
[INFO] [stdout] 144 | #[get("/test/wrap", wrap = "ChangeStatusCode")]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> tests/test_macro.rs:67:28
[INFO] [stdout]    |
[INFO] [stdout] 67 | async fn put_param_test(_: Path<String>) -> impl Responder {
[INFO] [stdout]    |                            ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use syn::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> tests/test_macro.rs:72:31
[INFO] [stdout]    |
[INFO] [stdout] 72 | async fn delete_param_test(_: Path<String>) -> impl Responder {
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use syn::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> tests/test_macro.rs:77:28
[INFO] [stdout]    |
[INFO] [stdout] 77 | async fn get_param_test(_: Path<String>) -> impl Responder {
[INFO] [stdout]    |                            ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use syn::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Transform` in this scope
[INFO] [stdout]   --> tests/test_macro.rs:95:12
[INFO] [stdout]    |
[INFO] [stdout] 95 | impl<S, B> Transform<S, ServiceRequest> for ChangeStatusCode
[INFO] [stdout]    |            ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ServiceRequest` in this scope
[INFO] [stdout]   --> tests/test_macro.rs:95:25
[INFO] [stdout]    |
[INFO] [stdout] 95 | impl<S, B> Transform<S, ServiceRequest> for ChangeStatusCode
[INFO] [stdout]    |          -              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |          |
[INFO] [stdout]    |          help: you might be missing a type parameter: `, ServiceRequest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Service` in this scope
[INFO] [stdout]   --> tests/test_macro.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 97 |     S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error>,
[INFO] [stdout]    |        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ServiceRequest` in this scope
[INFO] [stdout]   --> tests/test_macro.rs:97:16
[INFO] [stdout]    |
[INFO] [stdout] 95 | impl<S, B> Transform<S, ServiceRequest> for ChangeStatusCode
[INFO] [stdout]    |          - help: you might be missing a type parameter: `, ServiceRequest`
[INFO] [stdout] 96 | where
[INFO] [stdout] 97 |     S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error>,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ServiceResponse` in this scope
[INFO] [stdout]   --> tests/test_macro.rs:97:43
[INFO] [stdout]    |
[INFO] [stdout] 97 |     S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error>,
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ServiceResponse` in this scope
[INFO] [stdout]    --> tests/test_macro.rs:101:21
[INFO] [stdout]     |
[INFO] [stdout] 101 |     type Response = ServiceResponse<B>;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Service` in this scope
[INFO] [stdout]    --> tests/test_macro.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 116 | impl<S, B> Service<ServiceRequest> for ChangeStatusCodeMiddleware<S>
[INFO] [stdout]     |            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ServiceRequest` in this scope
[INFO] [stdout]    --> tests/test_macro.rs:116:20
[INFO] [stdout]     |
[INFO] [stdout] 116 | impl<S, B> Service<ServiceRequest> for ChangeStatusCodeMiddleware<S>
[INFO] [stdout]     |          -         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |          |
[INFO] [stdout]     |          help: you might be missing a type parameter: `, ServiceRequest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Service` in this scope
[INFO] [stdout]    --> tests/test_macro.rs:118:8
[INFO] [stdout]     |
[INFO] [stdout] 118 |     S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error>,
[INFO] [stdout]     |        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ServiceRequest` in this scope
[INFO] [stdout]    --> tests/test_macro.rs:118:16
[INFO] [stdout]     |
[INFO] [stdout] 116 | impl<S, B> Service<ServiceRequest> for ChangeStatusCodeMiddleware<S>
[INFO] [stdout]     |          - help: you might be missing a type parameter: `, ServiceRequest`
[INFO] [stdout] 117 | where
[INFO] [stdout] 118 |     S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error>,
[INFO] [stdout]     |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ServiceResponse` in this scope
[INFO] [stdout]    --> tests/test_macro.rs:118:43
[INFO] [stdout]     |
[INFO] [stdout] 118 |     S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error>,
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ServiceResponse` in this scope
[INFO] [stdout]    --> tests/test_macro.rs:122:21
[INFO] [stdout]     |
[INFO] [stdout] 122 |     type Response = ServiceResponse<B>;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LocalBoxFuture` in this scope
[INFO] [stdout]    --> tests/test_macro.rs:124:19
[INFO] [stdout]     |
[INFO] [stdout] 124 |     type Future = LocalBoxFuture<'static, Result<Self::Response, Self::Error>>;
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ServiceRequest` in this scope
[INFO] [stdout]    --> tests/test_macro.rs:130:25
[INFO] [stdout]     |
[INFO] [stdout] 130 |     fn call(&self, req: ServiceRequest) -> Self::Future {
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]    --> tests/test_macro.rs:145:22
[INFO] [stdout]     |
[INFO] [stdout] 145 | async fn get_wrap(_: Path<String>) -> impl Responder {
[INFO] [stdout]     |                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::path::Path;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use syn::Path;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 50 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "5b8827980b49f709abfb9c34a3301466b51b29f02213847ab3a1c37cbb6dd3e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b8827980b49f709abfb9c34a3301466b51b29f02213847ab3a1c37cbb6dd3e1", kill_on_drop: false }`
[INFO] [stdout] 5b8827980b49f709abfb9c34a3301466b51b29f02213847ab3a1c37cbb6dd3e1
